package com.techfengs.chapter04;

public class BinaryTest {
  public static void main (String[] args) {
    int n1 = 0b1010;
    int n2 = 01010;
    int n3 = 1010;
    int n4 = 0x1010;
    System.out.println("n1 = " + n1);
    System.out.println("n2 = " + n2);
    System.out.println("n3 = " + n3);
    System.out.println("n4 = " + n4);
  }
}
